//
//  WJ_New_VC.m
//  WJBSApp
//
//  Created by dllo on 16/7/14.
//  Copyright © 2016年 王景伟. All rights reserved.
//

#import "WJ_New_VC.h"
#import "WJMianController.h"

@interface WJ_New_VC ()

@end

@implementation WJ_New_VC


- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title = @"新帖";
    
    [self createView];
}


- (void)createView
{
    //全部
    WJMianController *allVc = [[WJMianController alloc]init];
    allVc.title = @"全部";
    allVc.url = WJNewAllURL;
    [self addChildViewController:allVc];
    
    //视频
    WJMianController *videoVc = [[WJMianController alloc]init];
    videoVc.title = @"视频";
    videoVc.url = WJNewVideoURL;
    [self addChildViewController:videoVc];
    
    //图片
    WJMianController *pictureVc = [[WJMianController alloc]init];
    pictureVc.title = @"图片";
    pictureVc.url = WJNewPictureURL;
    [self addChildViewController:pictureVc];
    
    //段子
    WJMianController *textVc = [[WJMianController alloc]init];
    textVc.title = @"段子";
    textVc.url = WJNewTextURL;
    [self addChildViewController:textVc];
    
    //网红
    WJMianController *starVc = [[WJMianController alloc]init];
    starVc.title = @"网红";
    starVc.url = WJNewStartURL;
    [self addChildViewController:starVc];
    
    //美女
    WJMianController *girlVc = [[WJMianController alloc]init];
    girlVc.title = @"美女";
    girlVc.url = WJNewGirlURL;
    [self addChildViewController:girlVc];
    
    //冷知识
    WJMianController *coldVc = [[WJMianController alloc]init];
    coldVc.title = @"冷知识";
    coldVc.url = WJNewColdURL;
    [self addChildViewController:coldVc];

    //游戏
    WJMianController *gameVc = [[WJMianController alloc]init];
    gameVc.title = @"游戏";
    gameVc.url = WJNewGameURL;
    [self addChildViewController:gameVc];
    
    //声音
    WJMianController *soundVc = [[WJMianController alloc]init];
    soundVc.title = @"声音";
    soundVc.url = WJNewSoundURL;
    [self addChildViewController:soundVc];
}




































- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
@end
